package springcloud_nacos_openfeign.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OpenfeignController {


    @Autowired
    private Remote remote;

    @GetMapping("/feign")
    public String test() {
        return remote.helloNacos();
    }
}
